<style>
	table{
		font-size:12px;
		width:1100px;
		text-align:center;
		border-collapse:collapse;
	}
	table tr td{
		height:30px;
		border:1px solid #999;
	}
	textarea{
		height:100px;
		width:400px;
		resize:none;
	}
	#title{
		width:500px;
	}
</style>
<script charset="utf-8" type="text/javascript" src='/Public/Admin/ueditor/ueditor.config.js'></script>
<script charset="utf-8" type="text/javascript" src='/Public/Admin/ueditor/ueditor.all.min.js'></script>
<script>
	window.UEDITOR_HOME_URL='/Public/Admin/ueditor/';
	window.onload=function(){
		window.UEDITOR_CONFIG.initialFrameWidth=1000
        window.UEDITOR_CONFIG.initialFrameHeight=280 
		UE.getEditor('myeditor');
	}
</script>
<body>
<form action="/index.php/Admin/Article/addck" method="POST">
	<table>
	
		<tr>
			<td colspan="2">
				添加新文章
			</td>
		</tr>
		<tr>
			<td>文章名称</td>
			<td>
				<input id='title' type="text" name='title'>
			</td>
		</tr>
		<tr>
			<td>选择文章类型</td>
			<td>
				<select name='cate_id'>
<?php 
	foreach ($artcateData as $val):
?>
					<option value="<?php echo $val['id']?>"><?php echo $val['cateName']?></option>
<?php 
	endforeach;
?>
				</select>
			</td>
		</tr>
		<tr>
			<td>文章外部地址</td>
			<td>
				<input id='title' type="text" name='art_url' value="http://">
			</td>
		</tr>
		<tr>
			<td>重要性</td>
			<td>
				<input type="radio" name="importance" value="0" checked> 普通
				<input type="radio" name="importance" value="1" > 置顶
			</td>
		</tr>
		<tr>
			<td>状态</td>
			<td>
				<input type="radio" name='status' value="1" checked> 开启
				<input type="radio" name="status" value="0"> 关闭
			</td>
		</tr>
		<tr>
			<td>文章内容</td>
			<td>
				<!--<textarea id='myeditor' name='content'></textarea>-->
				<script id="myeditor" name="content" type="text/plain"></script>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<input type='submit' value="添加" />
			</td>
		</tr>
		
	</table>
</form>
</body>